package com.qiaofang.collectmanage.dao;
import com.qiaofang.collectmanage.dao.domain.CollectQuality;
import java.util.List;
import org.apache.ibatis.session.RowBounds;
import com.qiaofang.collectmanage.stub.bean.SearchCollectQualityDTO;
import com.qiaofang.common.model.page.PageDTO;

/**
* Created by generator on 2018-8-1 20:37:55
*/
public interface CollectQualityDao {

     public CollectQuality  getCollectQualityByUuid(String uuid);
     public CollectQuality  getCollectQualityByQuality(CollectQuality quality);

     public int saveCollectQuality(CollectQuality quality);

     public int updateCollectQuality(CollectQuality quality);
     public int removeCollectQualityByUuid(String uuid);
     public List<CollectQuality> listCollectQuality(CollectQuality quality);


     public List<CollectQuality> listCollectQualityByUuids(List<String> uuidList);

     public Long countCollectQuality(CollectQuality quality);

     public List<CollectQuality> searchCollectQualityBySimpleAttr(CollectQuality quality, RowBounds rb);

     public List<CollectQuality> searchCollectQualityByPermission(SearchCollectQualityDTO dto, PageDTO page);

     public Long countCollectQualityByPermission(SearchCollectQualityDTO dto);

     public int saveCollectQualityBatch(List<CollectQuality> collectQualityList) ;

}
